package com.jiyongjun.bms.base.module.user.entity;

import com.jiyongjun.bms.base.common.core.BaseEntity;
import com.jiyongjun.bms.base.common.core.BaseQueryModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <h2>(User)查询条件模型</h2>
 * 描述:
 *
 * @author 冀大侠
 * @since 1.0 2019-06-03 23:12:15
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class UserQueryModel extends BaseQueryModel {
    /** 名称 */
    private String username;
    /** 密码 */
    private String password;
    /** 年龄 */
    private Integer age;
    /** 邮箱地址 */
    private String email;
    /** 照片 */
    private String photo;
    /** 姓名 */
    private String realName;
    /** 0可用1封禁 */
    private Short delFlag;

    @Override
    public Class<? extends BaseEntity> getEntityClass() {
        return UserEntity.class;
    }
}